package com.ruoyi.rycc.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课件对象 cc_courseware
 * 
 * @author antg
 * @date 2021-09-06
 */
public class CcCourseware extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表id */
    private Long id;

    /** 课件名称 */
    @Excel(name = "课件名称")
    private String coursewareName;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String coursewareType;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private Long coursewareSize;

    /** 地址 */
    @Excel(name = "地址")
    private String coursewareUrl;

    /** 章节id */
    private Long chapterId;

    /** 删除人 */
    private String delBy;

    /** 删除时间 */
    private Date delTime;

    /** 删除标志 */
    private String delState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCoursewareName(String coursewareName) 
    {
        this.coursewareName = coursewareName;
    }

    public String getCoursewareName() 
    {
        return coursewareName;
    }
    public void setCoursewareType(String coursewareType) 
    {
        this.coursewareType = coursewareType;
    }

    public String getCoursewareType() 
    {
        return coursewareType;
    }
    public void setCoursewareSize(Long coursewareSize) 
    {
        this.coursewareSize = coursewareSize;
    }

    public Long getCoursewareSize() 
    {
        return coursewareSize;
    }
    public void setCoursewareUrl(String coursewareUrl) 
    {
        this.coursewareUrl = coursewareUrl;
    }

    public String getCoursewareUrl() 
    {
        return coursewareUrl;
    }
    public void setChapterId(Long chapterId) 
    {
        this.chapterId = chapterId;
    }

    public Long getChapterId() 
    {
        return chapterId;
    }
    public void setDelBy(String delBy) 
    {
        this.delBy = delBy;
    }

    public String getDelBy() 
    {
        return delBy;
    }
    public void setDelTime(Date delTime) 
    {
        this.delTime = delTime;
    }

    public Date getDelTime() 
    {
        return delTime;
    }
    public void setDelState(String delState) 
    {
        this.delState = delState;
    }

    public String getDelState() 
    {
        return delState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("coursewareName", getCoursewareName())
            .append("coursewareType", getCoursewareType())
            .append("coursewareSize", getCoursewareSize())
            .append("coursewareUrl", getCoursewareUrl())
            .append("chapterId", getChapterId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delBy", getDelBy())
            .append("delTime", getDelTime())
            .append("delState", getDelState())
            .toString();
    }
}
